import ReactDOM from "react-dom/client";
import App from "./App";
import "@/styles/index.less";
import { Provider } from "react-redux";
import { PersistGate } from "redux-persist/integration/react";
import { store, persistor } from "@/store";
import "@/locale";
console.log(
	`%c center developer %c  v1.0.0 Release  %c`,
	"background:#35495E; padding: 1px; border-radius: 3px 0 0 3px; color: #fff;",
	`background:red; padding: 1px; border-radius: 0 3px 3px 0;  color: #fff;`,
	"background:transparent"
);
ReactDOM.createRoot(document.getElementById("root")!).render(
	<Provider store={store}>
		<PersistGate persistor={persistor}>
			<App />
		</PersistGate>
	</Provider>
);
